package com.Iconcat.system.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CatUser对象", description="")
public class CatUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "userid", type = IdType.AUTO)

    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "密码")

    private String userPassword;
    @ApiModelProperty(value = "手机号")

    private  String phoneNumber;
    @ApiModelProperty(value = "会员")

    private String membershipStatus;
    @ApiModelProperty(value = "团员")

    private String teamMemberStatus;
    @ApiModelProperty(value = "头像")

    private String avatarUrl;
    @ApiModelProperty(value = "总资产")

    private BigDecimal totalAssets;
    @ApiModelProperty(value = "待收益")

    private BigDecimal pendingEarnings;
    @ApiModelProperty(value = "总收益")

    private BigDecimal totalEarnings;
    @ApiModelProperty(value = "余额宝")

    private BigDecimal balanceBao;
    @ApiModelProperty(value = "可提余额")

    private BigDecimal withdrawableBalance;
    @ApiModelProperty(value = "联系人姓名")

    private Integer points;
    @ApiModelProperty(value = "累计充值")

    private BigDecimal totalRecharge;
    @ApiModelProperty(value = "累计提现")

    private BigDecimal totalWithdraw;
    @ApiModelProperty(value = "可用余额")

    private BigDecimal availableBalance;

    @ApiModelProperty(value = "注册时间")
    private Timestamp userCreatetime;
    @ApiModelProperty(value = "邀请码")
    private  String inviteCode;
    @TableField("paymentPassword")
    @ApiModelProperty(value = "支付密码")
    private String paymentPassword;
    @ApiModelProperty(value = "抽奖次数")
    private Integer drawCount;

}
